/** * $Id: WangYiOssConfig.java,v 1.0 2022/3/4 9:54 PM chenmin Exp $ */package io.github.artislong.core.wangyi.model;import io.github.artislong.model.SliceConfig;import io.github.artislong.utils.OssPathUtil;import lombok.Data;/** * @author 陈敏 * @version $Id: WangYiOssConfig.java,v 1.1 2022/3/4 9:54 PM chenmin Exp $ * Created on 2022/3/4 9:54 PM * My blog： https://www.chenmin.info */@Datapublic class WangYiOssConfig {    private String accessKey;    private String secretKey;    private String endpoint;    private String bucketName;    private String basePath;    private WangYiOssClientConfig clientConfig;    /**     * 断点续传参数     */    private SliceConfig sliceConfig = new SliceConfig();    public void init() {        this.sliceConfig.init();        basePath = OssPathUtil.valid(basePath);    }}